package com.ziyueyuwen.xiniao.service;

import com.ziyueyuwen.xiniao.bean.subscription.ZySubscriptionMsgDO;

import java.util.HashMap;

/**
 * @author jun 2019/1/7.
 */
public interface SubscriptionService {
    /**
     * 读取数据
     *
     * @param eeoNotifyStr String
     */
    void readData(String eeoNotifyStr);

    /**
     * 添加数据
     *
     * @param zySubscriptionMsg ZySubscriptionMsgDO
     * @return Boolean
     */
    Boolean add(ZySubscriptionMsgDO zySubscriptionMsg);

    /**
     * 获取奖杯信息
     *
     * @return HashMap   eeo课节Id + 用户手机号是 key, 奖杯数是 value
     */
    HashMap<String, Integer> getAwardInfo();

}
